<% if !@communities.nil? && !@communities.empty %>
<%= start_form_tag({:action => 'changepos'}) %>

<p><label for="community_id">社区</label><br/><%= select("community", "id", @communities)%></p>
<%= submit_tag "确定" %>
<%= end_form_tag %>
<% end %>